﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WhereIsMyCash.Web
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string json = @"{
            page: 1,
            total: 239,
            rows: [
            {id:'ZW',cell:['ZW','ZIMBABWE','Zimbabwe','ZWE','716']},
            {id:'ZM',cell:['ZM','ZAMBIA','Zambia','ZMB','894']},
            {id:'YE',cell:['YE','YEMEN','Yemen','YEM','887']},
            {id:'EH',cell:['EH','WESTERN SAHARA','Western Sahara','ESH','732']},
            {id:'WF',cell:['WF','WALLIS AND FUTUNA','Wallis and Futuna','WLF','876']},
            {id:'VI',cell:['VI','VIRGIN ISLANDS, U.S.','Virgin Islands, U.s.','VIR','850']},
            {id:'VG',cell:['VG','VIRGIN ISLANDS, BRITISH','Virgin Islands, British','VGB','92']},
            {id:'VN',cell:['VN','VIET NAM','Viet Nam','VNM','704']},
            {id:'VE',cell:['VE','VENEZUELA','Venezuela','VEN','862']},
            {id:'VU',cell:['VU','VANUATU','Vanuatu','VUT','548']}]
            }";
            string action = Request["action"];
            if (!string.IsNullOrEmpty(action) && action == "loadgrid")
            {
                Response.Write(json);
                Response.End();
            }
        }
    }
}
